#pragma once
#include <Grid.h>

class Cells : private Grid
{
public:
	Cells();
	virtual ~Cells(){}

	void  SetBounding(CRect &bounding){Grid::SetBounding(bounding);}
	CRect GetBounding(){return Grid::GetBounding();}
    CRect GetCellRect(int row, int col);

	void DrawCells(CDC *pDC);
	void ShowData(CDC *pDC);

protected:
    void getRiverBasicAt(int index, CString &str);
    void getLakeBasicAt(int index, CString &str);

    void getRiverDetailAt(int index, CString &key, CString &value);
    void getLakeDetailAt(int index, CString &key, CString &value);

    void getCureAt(int poolName, int index, CString &str);
};

